#include <iostream>
using namespace std;

string f[10] = {"zero","one","two","three","four","five","six","seven","eight","nine"};

signed main()
{
    string n;
    cin>>n;
    int sum = 0;
    for(int i=0;i<n.size();i++)    sum += n[i]-'0';
    string s = to_string(sum);
    cout<<f[s[0]-'0'];
    for(int i=1;i<s.size();i++)    cout<<" "<<f[s[i]-'0'];
    return 0;
}
